package com.lx.patterns.builder;

/**
 * @ClassName Client
 * @Description: //todo
 * @Author: 落雪
 * @CreateDate: 2025/1/15 20:35
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/1/15 20:35
 * @UpdateRemark:
 * @Version: 1.0
 */
public class Client {

    public static void main(String[] args) {
        Builder builder = new MobikeBuilder();
        Director director = new Director();

        director.setBuilder(builder);
        Bike bike = director.construct();
        System.out.println(bike.getFrame());

        System.out.println(bike.getSeat());

    }
}
